package me.sdau.spider.manager.modules.system.entity;

import lombok.*;
import me.sdau.spider.manager.common.entity.BaseEntity;

/**
 * @author zj
 * @date 2018/4/8 15:56
 */
@Data
@Builder
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
public class Menu extends BaseEntity {
    private static final long serialVersionUID = 1042506552113164222L;

    /** 父节点id*/
    private Long parentId;
    /** 所有父节点id*/
    private String parentIds;
    /** 节点名称*/
    private String name;
    /** 权限标识*/
    private String permission;
    /** 图标*/
    private String icon;
    /** 链接*/
    private String href;
    /** 描述*/
    private String remarks;
    /** 类型(0：目录   1：菜单   2：按钮)*/
    private Integer type;

}
